﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using BE;

namespace BL
{
    public class Menu_BL
    {

        public List<Menu> ObtenerMenus()
        {
            try
            {
                Menu_DAL dal = new Menu_DAL();
                return dal.ObtenerMenus();
            }
            catch (Exception)
            {
                throw;
            }
        }


        public Menu ObtenerMenu(Int32 ID)
        {
            try
            {
                Menu_DAL dal = new Menu_DAL();
                return dal.ObtenerMenu(ID);
            }
            catch (Exception)
            {
                throw;
            }
        
        }

    }
}
